package com.study.sbsummary.config.constant;

/**
 * @Description 文章状态枚举
 * @Author hushichao
 * @Date 21:07 2022-02-16
 **/
public enum DocStatusEnum {
    /**
     * const DOC_STATUS_AUDIT_APPLY = 1; //已通过机器申请
     * const DOC_STATUS_AUDIT_WAIT = 2; //等待人工审核
     * const DOC_STATUS_AUDIT_SUCCESS = 3; //人工审核成功
     * const DOC_STATUS_AUDIT_FAIL = 4; //人工审核失败
     * const DOC_STATUS_SUCCESS = 5; //入库成功
     * const DOC_STATUS_OFFLINE = 6; //文章下线
     * const DOC_STATUS_SHOW_FIRST = 7; //先发后审成功
     * const DOC_STATUS_FAIL = 8; //入库失败
     * const DOC_STATUS_PRE_RELEASE = 9; //预发布状态
     * const DOC_STATUS_HIDDEN = 10; //已隐藏
     * <p>
     * const DOC_STATUS_DELETE_ACCOUNT = 11; //注销删除
     * const DOC_STATUS_CLOSE_ACCOUNT = 12; //因为违规封号
     */
    DOC_STATUS_AUDIT_APPLY(1, "已通过机器申请"),
    DOC_STATUS_AUDIT_WAIT(2, "等待人工审核"),
    DOC_STATUS_AUDIT_SUCCESS(3, "人工审核成功"),
    DOC_STATUS_AUDIT_FAIL(4, "人工审核失败"),
    DOC_STATUS_SUCCESS(5, "入库成功"),
    DOC_STATUS_OFFLINE(6, "文章下线"),
    DOC_STATUS_SHOW_FIRST(7, "先发后审成功"),
    DOC_STATUS_FAIL(8, "入库失败"),
    DOC_STATUS_PRE_RELEASE(9, "预发布状态"),
    DOC_STATUS_HIDDEN(10, "已隐藏"),
    DOC_STATUS_DELETE_ACCOUNT(11, "注销删除"),
    DOC_STATUS_CLOSE_ACCOUNT(12, "因为违规封号"),
    ;

    private final Integer code;
    private final String status;

    DocStatusEnum(Integer code, String message) {
        this.code = code;
        this.status = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getStatus() {
        return status;
    }

}
